package com.he;

import com.he.config.CustomLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;

@SpringBootApplication
@EnableDiscoveryClient
@LoadBalancerClient(name = "SPRINGCLOUD-PROVIDER", configuration = CustomLoadBalancerConfig.class)
public class consumerSpringCloud {
    public static void main(String[] args) {
        SpringApplication.run(consumerSpringCloud.class,args);
    }

}
